[#include "/WEB-INF/pages/common/taglibs.ftl"]
		
		<div class="contenttitle radiusbottom0" style="margin-bottom:1px;">
	    	<h2 id="vertical" class="form"><span>内容菜单</span></h2>
	    </div><!--contenttitle-->
	    <form action="[@c.url value='/manage/Navi_${act}.action?backurl=${action.urlEncode(action.backurl)}'/]" method="post" class="stdform stdform2">
        	<p>
            	<label>选择上级菜单</label>
                <span class="field">
                	<select name="navi.pid" class="atomic">
                		<option value=""></option>
	                	[#list naviList as m]
                		<option value="${(m.id)?c}" [#if (navi.id)?? && m.id == navi.id]selected="selected"[/#if]>${m.title}</option>
	                	[/#list]
                	</select>
                </span>
            </p>
        	<p>
            	<label>名称</label>
                <span class="field"><input type="text" class="atomicinput" name="navi.name" value="${(navi.name)!''}" /></span>
            </p>
            <p>
            	<label>标题</label>
                <span class="field"><input type="text" class="atomicinput" name="navi.title" value="${(navi.title)!''}" /></span>
            </p>
            <p>
            	<label>菜单指向内容</label>
                <span class="field">频道：
                	<select name="navi.channelId" class="atomic" onchange="base.cascadeCate(this.value)">
	                	[#list channelList as m]
                		<option value="${(m.ssid)!''}" [#if (navi.channelId)?? && m.id == navi.channelId]selected="selected"[/#if]>${m.title}</option>
	                	[/#list]
                	</select>
                	| 栏目：
                	<select name="navi.categoryId" id="naviCategory" class="atomic" onchange="base.cascadeArt(this.value)">
                		<option value=""></option>
	                	[#list categoryList as m]
                		<option value="${(m.ssid)!''}" [#if (navi.categoryId)?? && m.id == navi.categoryId]selected="selected"[/#if]>${m.title}</option>
	                	[/#list]
                	</select>
                	| 文章：
                	<select name="navi.articleId" id="naviArticle" class="atomic">
                		<option value=""></option>
	                	[#list articleList as m]
                		<option value="${(m.ssid)!''}" [#if (navi.articleId)?? && m.id == navi.articleId]selected="selected"[/#if]>${m.title}</option>
	                	[/#list]
                	</select>
                </span>
            </p>
             <p>
            	<label>样式表(CSS)<small>多个以 "<strong style="color:red">, </strong>" 进行分割.</small></label>
                <span class="field"><input type="text" class="atomicinput" name="navi.css" value="${(navi.css)!''}"/></span>
            </p>
             <p>
            	<label>样式(style)</label>
                <span class="field"><input type="text" class="tinyinput" name="navi.style" value="${(navi.style)!''}"/></span>
            </p>
             <p>
            	<label>高亮条件<small>&nbsp;多个以"<strong style="color:red">, </strong>"进行分割.</small></label>
                <span class="field">
                	<input type="text" class="mediuminput" id="navPattern" name="navi.pattern" value="${(navi.pattern)!''}"/>
                	&nbsp;自动生成 <input type="checkbox" class="autoGen" for="navPattern"/>
                </span>
            </p>
            <p>
            	<label>URL
            		<small>不指定地址则自动生成.</small></label>
                <span class="field">
                	<input type="text" id="naviUrl" class="mediuminput" name="navi.url" value="${(navi.url)!''}" />
                	&nbsp;自动生成 <input type="checkbox" class="autoGen" for="naviUrl"/>
                </span>
            </p>
            <p>
            	<label>类型</label>
                <span class="field">
	                <select id="selection2" name="navi.type">
	                	<option value="">请选择</option>
	                    <option value="navi">菜单</option>
	                    <option value="navibar">导航</option>
	                </select>
                </span>
            </p>
			<p>
            	<label>允许匿名访问</label>
                <span class="field">
    				<input id="isAnonymous" rel="{labelOn: '允许 ', labelOff: '授权 ', easing: 'easeOutBounce', duration: 800, click:function(e){base.permission(${(navi.id)! '0'}, e);}}" class="yes_no" type="checkbox" style="height:33px;" id="cpermission" name="navi.anonymous" value="true" [#if navi == null || (navi.anonymous == true)]checked[/#if]/>
    				<br />
    				<i id="roleList" style=""> </i>
                </span>
            </p>
			<p>
            	<label>是否可用</label>
                <span class="field">
                	<input rel="{labelOn: '可用 ', labelOff: '禁用 ', easing: 'easeOutBounce', duration: 800}" class="yes_no" type="checkbox" style="height:33px;" name="navi.enabled" value="true" [#if navi == null || (navi.enabled == true)]checked[/#if]/>
                </span>
            </p>
            <p>
            	<label>菜单描述<small>备注或描述信息可以写在这里.</small></label>
                <span class="field"><textarea class="longinput" name="navi.notes" rows="5" cols="60">${(navi.notes)!''}</textarea></span>
            </p>
            <p class="stdformbutton">
            	<input type="hidden" name="id" value="${(navi.id)!''}"/>
            	<button class="submit radius2">提交</button>
                <input type="reset" value="重置" class="reset radius2">
            </p>
        </form>